
//
//  WithdDepositBankCell.m
//  LuxuryGoods
//
//  Created by DCQ on 2018/5/24.
//  Copyright © 2018年 Future. All rights reserved.
//

#import "WithdrawDepositBankCell.h"

@interface WithdrawDepositBankCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgV;
@property (weak, nonatomic) IBOutlet UILabel *bankNameLabel;
@property (weak, nonatomic) IBOutlet UILabel *bankNoLabel;

@end
@implementation WithdrawDepositBankCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setupBankInfo:(NSDictionary *)info{
    if (info) {
        [self.imgV yy_setImageWithURL:[NSURL URLWithString:info[@"bank_logo"]] placeholder:nil];
        self.bankNoLabel.text =[NSString stringWithFormat:@"尾号:%@", [info[@"account_name"] substringFromIndex:[info[@"account_name"] length] -4]];
        self.bankNameLabel.text = info[@"bank_name"];
    }
   
}
@end
